package com.example.jobs.task.impl;

import com.example.framework.common.pojo.R;
import com.example.jobs.feign.FeignSourceCodeLearning;
import com.example.jobs.task.Task;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class Task2 implements Task {

    @Resource
    private FeignSourceCodeLearning feignSourceCodeLearning;

    @Override
    public void run() {
        log.info("run task2");
        R<String> r = feignSourceCodeLearning.testAOP();
        log.info("r: {}", r);
    }

}
